package com.smartthinking.CICPNL.home.activity;

import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

import com.smartthinking.CICPNL.R;

public class DirectorioPregunta extends Activity {

	private Intent intent;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ui_directorio_pregunta);

	}
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);

		// Checks the orientation of the screen
		 
	}

	public void abrirPonentes(View v) {

		intent = new Intent(DirectorioPregunta.this, DirectorioPoneExpo.class);
		intent.putExtra("PUT_LOG", 1);
		startActivity(intent);

	}

	public void abrirExpositores(View v) {
		intent = new Intent(DirectorioPregunta.this, DirectorioPoneExpo.class);
		intent.putExtra("PUT_LOG", 2);
		startActivity(intent);

	}

}
